<template>
    <div class="p-4 my-4 border-1 border-gray-300 rounded-md">
        <h1 class="text-base font-bold mb-2 text-red-800">
            {{ props.title }}
        </h1>
        <div class="py-2">
            <slot></slot>
        </div>
    </div>
</template>

<script setup>
const props = defineProps({
    title: {
        type: String,
        default: "标题"
    }
});
</script>
